<?php

function cal(callable $func, $a, $b)
{
    echo $func($a, $b);
    echo PHP_EOL;
   
}

cal(function ($a, $b) {
    return $a + $b;
}, 11, 22);

cal(function ($a, $b) {
    return $a * $b;
}, 11, 22);
